﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="LoaiHangForm.aspx.cs" Inherits="Web.Admin.LoaiHangForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="panel-heading">
    <h3 class="panel-title"><b>Thông tin người dùng</b></h3>
</div>
<div class="panel-body">
    <div class="form-horizontal" role="form">
        <asp:HiddenField ID="hdfMaLoaiHang" runat="server" />
        <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Tên Loại Hàng
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="Hãy nhập tên loại hàng" Text="*" 
                ControlToValidate="txtTenLoaiHang" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
        </label>
            
        <div class="col-sm-10">
            <asp:TextBox ID="txtTenLoaiHang" runat="server" CssClass="form-control" placeholder="Tên Loại Hàng"></asp:TextBox>
        </div>
        </div>
        <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <asp:LinkButton ID="btnSave" CssClass="btn btn-primary" runat="server" 
                onclick="btnSave_Click">Lưu</asp:LinkButton>
            <a href="LoaiHangManager.aspx" class="btn btn-default">
            Hủy bỏ
            </a>
        </div>
        </div>
        <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
        </div>
        </div>
    </div>
</div>
</asp:Content>
